package com.fzy.core;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.fzy.core.entity.MappingClass;

public class MappingBuilder {
	Map mappings =  new HashMap();
	public Map end(){
		return mappings;
	}
	public MappingClassBuilder beginClass(String namespace, String name, String show, String table, String comment){
		MappingClass c = new MappingClass(namespace, name, show, table, comment);
		MappingClassBuilder cb = new MappingClassBuilder(this, c);
		return cb;
	}
}
